HAL JPEG macros migration ¶
This section provides information about HAL JPEG macros for STM32 HAL1 to HAL2 migration.
HAL JPEG clear flag macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_CLEAR_FLAG
|
__STATIC_INLINE void HAL_JPEG_ClearFlag(hal_jpeg_handle_t *hjpeg, uint32_t flag)
|
Related concept:
HAL JPEG get flag macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_GET_FLAG
|
__STATIC_INLINE uint32_t HAL_JPEG_IsActiveFlag(const hal_jpeg_handle_t *hjpeg, uint32_t flag)
|
Related concept:
HAL JPEG disable interruption macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_DISABLE_IT
|
__STATIC_INLINE void HAL_JPEG_DisableIT(hal_jpeg_handle_t *hjpeg, uint32_t it_source)
|
Related concept:
HAL JPEG enable interruption macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_ENABLE_IT
|
__STATIC_INLINE void HAL_JPEG_EnableIT(hal_jpeg_handle_t *hjpeg, uint32_t it_source)
|
Related concept:
HAL JPEG get interruption source macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_GET_IT_SOURCE
|
__STATIC_INLINE uint32_t HAL_JPEG_IsEnabledIT(const hal_jpeg_handle_t *hjpeg, uint32_t it_source)
|
Related concept:
HAL JPEG disable and enable macros ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_DISABLE
#define __HAL_JPEG_ENABLE
|
Removed; in HAL2 enabling or disabling the JPEG core is managed internally by the driver. |
HAL JPEG reset handle state macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_JPEG_RESET_HANDLE_STATE
|
Removed; use
|